package ${package}.service;

import ${package}.pojo.bean.${className};
import ${package}.pojo.query.${className}Query;
import com.wteam.dragon.system.basebean.bean.ResultMessage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import java.util.List;
import javax.servlet.http.HttpServletResponse;

/**
* @Author ${author}
* @Date ${date}
*/
public interface ${className}Service {
    /**
    * 添加${apiAlias}
    */
    ResultMessage add${className}(${className} ${changeClassName});

    /**
    * 批量删除${apiAlias}
    */
    ResultMessage del${className}(List<Long> ids);

    /**
    * 更改${apiAlias}
    */
    ResultMessage edit${className}(${className} ${changeClassName});

    /**
    * 分页获得${apiAlias}
    */
    ResultMessage page${className}(Page<${className}> page, ${className}Query ${changeClassName}Query);

    /**
    * 获得${apiAlias}详情
    */
    ResultMessage get${className}(Long id);

    /**
    * 导出${apiAlias}列表
    */
    void export${className}(HttpServletResponse response, ${className}Query ${changeClassName}Query);
}